from pydantic_settings import BaseSettings
import os

class Settings(BaseSettings):
    password: str = os.getenv("PASSWORD", "your-default-password")
    max_content_size: int = 10 * 1024  # 10KB
    kv_url: str = os.getenv("KV_URL", "")
    kv_rest_api_url: str = os.getenv("KV_REST_API_URL", "")
    kv_rest_api_token: str = os.getenv("KV_REST_API_TOKEN", "")
    kv_rest_api_read_only_token: str = os.getenv("KV_REST_API_READ_ONLY_TOKEN", "")

    class Config:
        env_file = ".env" 